import request from '@/utils/request'

export function allPermit() {
  return request({
    url: '/pckPermit/all',
    method: 'get',
  })
}
export function saveAdd(data) {
  return request({
    url: '/pckPermit/add',
    method: 'post',
    data
  })
}
export function saveEdit(data) {
  return request({
    url: '/pckPermit/edit',
    method: 'post',
    data
  })
}
export function del(permId) {
  return request({
    url: '/pckPermit/delete/'+permId,
    method: 'get',
  })
}



